package com.liu.my_blog_system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liu.my_blog_system.entity.TbArticle;
import com.liu.my_blog_system.utils.Result;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * tb_article (TbArticle)表服务接口
 *
 * @author liuchengjie
 * @since 2021-04-07 14:14:53
 */
public interface TbArticleService extends IService<TbArticle> {

    Result addArticle(TbArticle article, HttpServletRequest request, HttpServletResponse response);

    Result getArticleList(Long current, Long size);
}
